﻿@{ Layout = "~/Views/Shared/_Layout.cshtml"; }
@model Scheduling.Models.Booking

<h2>@Model.CourseInstance.Course.ID Booking Information</h2>
<table class="Info">
    <tr>
        <th>From:</th>
        <td>@Model.StartDate.ToShortDateString() @Model.StartDate.ToShortTimeString()</td>
    </tr>
    <tr>
        <th>To:</th>
        <td>@Model.EndDate.ToShortDateString() @Model.EndDate.ToShortTimeString()</td>
    </tr>
    <tr>
        <th>Room: </th>
        <td>@Model.Room.ID</td>
    </tr>
    <tr>
        <th>
            Course: 
        </th>
        <td>
            @Model.CourseInstance.Course.ID (@Model.CourseInstance.Term)
        </td>
    </tr>
</table>
@Html.ActionLink("Return to My bookings", "List") <br/>
@Html.ActionLink("Return to All bookings", "ListAll")
